<%--
  Created by IntelliJ IDEA.
  User: 陈林
  Date: 2020/4/14
  Time: 9:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8" isELIgnored="false" pageEncoding="utf-8"%>
<%@ include file="/webpage/common/include/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <%@ include file="/webpage/common/include/ltie9.jsp"%>
    <!--<script type="text/javascript" src="/resources/lib/html5shiv.js"></script>-->
    <!--<script type="text/javascript" src="/resources/lib/respond.min.js"></script>-->
    <![endif]-->
    <%--<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />--%>
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/h-ui.admin/css/H-ui.admin.css" />
    <%--<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />--%>
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/h-ui.admin/skin/default/skin.css" id="skin" />
    <%--<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />--%>
    <%@include file="/webpage/common/include/head.jsp"%>
    <!--[if IE 6]>
    <%@ include file="/webpage/common/include/ltie6.jsp"%>
    <!--<script type="text/javascript" src="/resources/lib/DD_belatedPNG_0.0.8a-min.js" ></script>-->
    <!--<script>DD_belatedPNG.fix('*');</script>-->
    <![endif]-->
    <title>菜单管理</title>
</head>
<body>
<div class="page-container">
    <form  class="form form-horizontal" id="form-category-add">
        <input type="hidden" value="" name="taskId"/>
        <div id="tab-category" class="HuiTab">
            <div class="tabBar cl">
                <span>巡检详细信息</span>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    巡检人：</label>
                <div class="formControls col-xs-4 col-sm-3">
                    <input type="text" class="input-text" value="${innercheck.userEntity.userName}" placeholder="" id="" readonly="readonly">
                </div>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-2">
                    <span class="c-red">*</span>
                    任务时间：</label>
                <div class="formControls col-xs-4 col-sm-4">
                    <input type="text" class="input-text" readonly="readonly" value=" <fmt:formatDate value="${innercheck.checkTask.taskTime}" type="date" pattern="yyyy-MM-dd HH:mm"/>" placeholder="选择时间" name="taskTime">
                </div>
                <div class="col-3">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    地址：</label>
                <div class="formControls col-xs-4 col-sm-3">
                     <span class="select-box">
                         ${innercheck.checkAdd.addName}
                    </span>
                </div>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-2 ">
                    <span class="c-red">*</span>
                    巡检时间：</label>
                <div class="formControls col-xs-4 col-sm-4">
                        <input type="text" class="input-text" readonly="readonly" value=" <fmt:formatDate value="${innercheck.checkDate}" type="date" pattern="yyyy-MM-dd HH:mm"/>" placeholder="选择时间" name="">
                </div>
                <div class="col-3">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    管道泄漏和腐蚀：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerGdxlfs == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerGdxlfs != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    管道存在重物：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerGdzw == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerGdzw != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    管道违违规暗埋和暗封：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerGdamaf == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerGdamaf != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    阀门泄漏和腐蚀：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerFmxlfs == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerFmxlfs != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    阀门部件齐全：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerFmbj == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerFmbj != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    阀门灵活状态：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerFmqb == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerFmqb != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    燃气表泄漏和腐蚀：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRqbxlfs == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRqbxlfs != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    燃气表安装合规(暗埋和封装)：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRqbamaf == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRqbamaf != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    燃气气器具安装是否规范：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRqsbhg == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRqsbhg != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    燃气器具有无漏气：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRqsblqfs == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRqbxlfs != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    燃气器具是否有保护装置：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRqsbbf == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRqsbbf != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    燃气器具是否在使用年限：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRqsbnx == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRqsbnx != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
            </div>


            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    软管是否符合标准：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRggjbz == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRggjbz != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    连接软管是否在使用年限：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRgnx == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRgnx != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    连接软管是否规范：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRggd == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRggd != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
            </div>


            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3">
                    <span class="c-red">*</span>
                    软管是否存在破损：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRgsh == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRgsh != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>
                <div class="col-3">
                </div>
                <label class="form-label col-xs-4">
                    <span class="c-red">*</span>
                    连接软管是否违规安装：
                    <a style="text-decoration:none" class="ml-5"  href="javascript:;">
                        <c:if test="${innercheck.innerRgam == 1}">
                            <i style="color:blue;" class="Hui-iconfont">&#xe6e1;</i>
                        </c:if>
                        <c:if test="${innercheck.innerRgam != 1}">
                            <i style="color:red;" class="Hui-iconfont">&#xe6dd;</i>
                        </c:if>
                    </a>
                </label>

                <div class="col-3">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>详情：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <textarea name="taskDetail" cols="" rows="" class="textarea"  placeholder="输入内容" datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！" onKeyUp="$.Huitextarealength(this,200)">${innercheck.checkDesc}</textarea>
                    <p class="textarea-numberbar"><em class="textarea-length">0</em>/200</p>
                </div>
            </div>
        <div class="row cl">
            <div class="col-9 col-offset-3">
            </div>
        </div>
        </div>
    </form>
</div>

<!--_footer 作为公共模版分离出去-->
<%@include file="/webpage/common/include/footer.jsp"%>
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="${ctxLib}/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="${ctxLib}/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="${ctxLib}/jquery.validation/1.14.0/validate-methods.js"></script>

<script type="text/javascript">

    $(function(){
        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });

        $("#tab-category").Huitab({
            index:0
        });
        $("#form-category-add").validate({
            rules:{

            },
            onkeyup:false,
            focusCleanup:true,
            success:"valid",
            submitHandler:function(form){
                $(form).ajaxSubmit();
                var index = parent.layer.getFrameIndex(window.name);
                //parent.$('.btn-refresh').click();
                parent.location.reload(); // 父页面刷新
                parent.layer.close(index);
            }
        });


    });
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
